﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CanDoo.Oil.WebHost.Code
{
    public static class StaticListShow
    {
        public static string ShowSex(int i)
        {
            if (i == 1)
                return "男";
            if (i == 2)
                return "女";
            return "保密";
        }


        public static string ShowEnable(bool enable)
        {
            if (enable)
                return "启用";
            else
                return "禁用";
        }

        public static string WhetherOrNot(bool whetherOrNot)
        {
            if (whetherOrNot)
                return "是";
            else
                return "否";
        }

    }
}